package com.mikufufu.blog.model.vo.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 统计信息
 * 
 */
@Data
public class StatisticsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章总数")
    @NotNull
    private Long articleCount;

    @ApiModelProperty(value = "分类总数")
    @NotNull
    private Long categoryCount;

    @ApiModelProperty(value = "访问量")
    @NotNull
    private Integer visitCount;

    @ApiModelProperty(value = "评论总数")
    @NotNull
    private Long commentCount;

    @ApiModelProperty(value = "文章总字数")
    @NotNull
    private Long wordCount;
}
